import request from './request'

export function getResume (data) {
  return request({
    url: '/api/queryresume',
    method: 'post',
    data
  })
}
export function registResumeApi (data) {
  return request({
    url: '/api/registId',
    method: 'post',
    data
  })
}
export function addResume (data) {
  return request({
    url: '/api/addresume',
    method: 'post',
    data
  })
}
export function addWorkExpApi (data) {
  return request({
    url: '/api/addWorkExp',
    method: 'post',
    data
  })
}
export function delWorkExpApi (data) {
  return request({
    url: '/api/delWorkExp',
    method: 'post',
    data
  })
}
export function addProjextExpApi (data) {
  return request({
    url: '/api/addProjextExp',
    method: 'post',
    data
  })
}
export function delProjextExpApi (data) {
  return request({
    url: '/api/delProjextExp',
    method: 'post',
    data
  })
}
export function uploadAvatarApi (data) {
  return request({
    url: '/api/upload',
    method: 'post',
    data
  })
}
